﻿<h2>レシピ情報の<?php echo $isEdit?'編集':'新規追加' ?></h2>

<?php echo $this->Form->create('Link'); ?>

<?php echo $this->Form->input('l_name'); ?>

<?php echo $this->Form->input('l_url'); ?>

<?php echo $this->Form->input('l_site'); ?>

<?php echo $this->Form->input('l_descript'); ?>

<?php
if($isEdit){
	echo $this->Form->input('id',array('type'=>'hidden'));
}
 ?>

<?php echo $this->Form->end($isEdit?'編集':'追加'); ?>